﻿using Traceability.Domain.SlaughterDomain;
using Traceability.Domain.TraceabilityDto;

namespace Traceability.Domain.Service.SlaughterServices
{
    /// <summary>
    /// 屠宰接口
    /// </summary>
    public interface ISlaughterService
    {
        Task<int> AddSlaughter(Slaughter slaughter);

        Task<List<SlaughterDto>> GetAllSlaughterList(int shoppingId);

        Task<int> UpdateSlaughter(Slaughter slaughter);

        Task<int> DeleteSlaughters(int slaughterId, string userMame);

        Task<Slaughter> GetSlaughterModel(int slaughterId);
    }
}
